package com.zxj.friend.mapper.message;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxj.friend.domain.message.entity.MessageText;
import com.zxj.friend.domain.message.vo.MessageTextVO;

import java.util.List;

/**
 * <p>
 * 消息内容表 Mapper 接口
 * </p>
 *
 * @author zxj2022
 * @since 2025-01-14
 */
public interface MessageTextMapper extends BaseMapper<MessageText> {

    /**
     * 查询用户消息列表
     * @param userId 用户ID
     * @return List<MessageTextVO>
     */
    List<MessageTextVO> selectUserMsgList(Long userId);
}
